package com.cssy.yd.logic.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byd.acegiext.domain.User;
import com.cssy.yd.logic.dao.LogicMaterialReturnItemBatchDAO;
import com.cssy.yd.logic.dao.LogicPoReturnItemBatchDAO;
import com.cssy.yd.logic.entity.LogicFkReturnDO;
import com.cssy.yd.logic.entity.LogicMaterialReturnItemBatchDO;
import com.cssy.yd.logic.service.ILogicMaterialReturnItemBatchService;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;

@Service("logicMaterialReturnItemBatchService")
public class LogicMaterialReturnItemBatchServiceImpl implements ILogicMaterialReturnItemBatchService{

	@Resource(name="logicMaterialReturnItemBatchDAO")
	private LogicMaterialReturnItemBatchDAO logicMaterialReturnItemBatchDAO;
	
	@Override
	public SearchResult findListByExample(SearchConditions scs)
			throws SyBaseException {
		SearchResult rs = new SearchResult(scs);
		List<LogicMaterialReturnItemBatchDO> list = logicMaterialReturnItemBatchDAO.find(scs);
		rs.setRecordCount(logicMaterialReturnItemBatchDAO.count(scs));
		rs.setResults(list);
		return rs;
	}

	@Override
	public Integer delete(String id, User user) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	@Transactional
	public Integer update(LogicMaterialReturnItemBatchDO t, User user)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	@Transactional
	public LogicMaterialReturnItemBatchDO save(
			LogicMaterialReturnItemBatchDO t, User user) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public LogicMaterialReturnItemBatchDO findListById(String id)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer deleteBizRemoved(String id) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

}
